package main

import (
	"fmt"
	"io/ioutil"
	"log"
)

func readFileFrompath(path string) []byte {
	content, err := ioutil.ReadFile(path)
	if err != nil {
		log.Println(err)
	}
	return content
}

func main() {
	file_str := string(readFileFrompath("./resources/test.txt"))
	fmt.Println(file_str)
}
